package orm;

import java.sql.Timestamp;

/**
 * Poster entity. @author MyEclipse Persistence Tools
 */

public class Poster implements java.io.Serializable {

	// Fields

	private Long posterid;
	private Integer topicid;
	private Integer userid;
	private String content;
	private Timestamp createTime;

	// Constructors

	/** default constructor */
	public Poster() {
	}

	/** full constructor */
	public Poster(Integer topicid, Integer userid, String content,
			Timestamp createTime) {
		this.topicid = topicid;
		this.userid = userid;
		this.content = content;
		this.createTime = createTime;
	}

	// Property accessors

	public Long getPosterid() {
		return this.posterid;
	}

	public void setPosterid(Long posterid) {
		this.posterid = posterid;
	}

	public Integer getTopicid() {
		return this.topicid;
	}

	public void setTopicid(Integer topicid) {
		this.topicid = topicid;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

}